- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Auto-scale Y-axis for indicators when zooming #356 #389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
@@ -607,9 +615,16 @@ def __eq__(self, other): | |||
|
|||
custom_js_args = dict(ohlc_range=fig_ohlc.y_range, | |||
source=source) | |||
if plot_pl: | |||
custom_js_args.update(pl_range=fig_pl.y_range) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change was not required. I think I might have added that while I was trying to see if I can add auto scale feature for P/L chart. Since it's already been added in the commit, I still see a value in keeping it for future use, But if you think that it's not worth adding it right now and will cause confusion then I can remove it. Let me know.
7fd493d
to
e7981c7
Compare
60eff81
to
109c352
Compare
@kernc can you please take a look at this pull request? |
428c361
to
0ce6cab
Compare
70abc06
to
c79ffb0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes #356